package com.jwt.service;

import com.jwt.mapper.ProductMapper;
import com.jwt.pojo.Product;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class ProductService {
	@Resource
	ProductMapper productMapper;
	public List<Product> findAllProducts(){
		return productMapper.findAllProducts();
	}
}
